var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var productSchema = new Schema({
    "productId": String,
    "productName": String,
    "salePrice": Number,
    "productNum": Number,
    "checked": String,
    "productImage": String,
});

// Good 匹配数据库中 goods表
module.exports = mongoose.model('Good', productSchema, 'goods');